<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/6 0006
 * Time: 17:11
 */
namespace app\modules\applets\models;

use yii\db\ActiveRecord;
use yii;

class Info extends ActiveRecord
{
    public static function tableName()
    {
        return '{{%info_applets}}';
    }

    // 雅思新闻、备考攻略、雅思听力、雅思阅读、雅思写作、雅思口语、备考活动、雅思资料
    public static $cate = [
        1 => '雅思新闻',
        2 => '备考攻略',
        3 => '雅思听力',
        4 => '雅思阅读',
        5 => '雅思写作',
        6 => '雅思口语',
        7 => '备考活动',
        8 => '雅思资料',
    ];
}